#ifndef CARDGROUP_H
#define CARDGROUP_H

#include "Card.h"
#include <vector>

class CardGroup
{
public:
	CardGroup(unsigned int size);
	CardGroup(const CardGroup& rhs);
	~CardGroup();

	void AddCard(Card& card, unsigned int index);
	const Card& GetCard(unsigned int index) const;

	void RemoveCard(unsigned int index);

	unsigned int GetSize() const;

	bool IsEmpty(unsigned int slot) const;

	void RemoveAllCard();

private:
	void Clear();
	bool Empty() const;
	unsigned int MaxSize();

	unsigned int size;
	Card** cards;

};


#endif //CARDGROUP_H